[DEL] XQuery/Core: Lock downgrading removed (to be added again)