The Uttarakhand High Court on Friday heard a petition challenging the mandatory registration of live-in relationships under the Uniform Civil Code (UCC), which was implemented in the state last month.