 If five senior judges in the Inner House of the Court of Session, including the Lord Justice Clerk, certify through a written declaration to the First Minister that the Lord President is incapacitated, the Lord President's duties become exercisable by the Lord Justice Clerk.Similarly, if five judges of the Inner House, including the Lord President, certify in writing to the First Minister that the Lord Justice Clerk is incapacitated, his functions, including any which he has assumed due to the Lord President's incapacity, pass to the next most senior judge of the Inner House.Where both the Lord Justice Clerk and the Lord President are incapacitated, they are not required to certify each other's incapacity.