Such petition must be heard at such time as the court or judge may appoint, subject to the provisions of 7-2-2505. Objections may be filed in the office of the clerk of said court at any time before such date by any person who can, in such objections, show to the court or judge good reason against such change of name. On the hearing, the court or judge may examine on oath any of the petitioners, remonstrants, or other persons touching the petition and may make an order changing the name if there appears any reason, benefit, or advantage for such change or may dismiss the petition as to the court or judge may seem right or proper.
§ 7-2-2506, MCA